import os
from django.apps import AppConfig

default_app_config = "bbd_admin.BbdAdminConfig"
VERBOSE_APP_NAME = "运维中心"


def get_current_app_name(file):
    return os.path.split(os.path.dirname(file))[-1]


class BbdAdminConfig(AppConfig):
    name = get_current_app_name(__file__)
    verbose_name = VERBOSE_APP_NAME
